import axiosInstance from "../axiosInstance";


const dataViewInfo = {
    /**
     * 总计信息
     * @returns 
     */
    getTotalInfo() {
        return axiosInstance.get(`/adminInfo/getTotalInfo`,)
    },
    /**
* 获取菜品分类总数
* @returns 
*/
    getCategoryFoodCount() {
        return axiosInstance.get("/adminInfo/getCategoryFoodCount")
    },
    /**
     * 获取评论等级数据
     * @returns 
     */
    getCommentStarData() {
        return axiosInstance.get("/adminInfo/getCommentStarData")
    },
}

export default dataViewInfo;